//
//  AppController.h
//  BattleGrowl
//
//  Created by Mechalogical on 19/01/2010.
//  Copyright 2010 Mechalogical Labs.
//
//  This file is part of BattleGrowl.
//  
//  Foobar is free software: you can redistribute it and/or modify
//  it under the terms of the GNU General Public License as published by
//  the Free Software Foundation, either version 3 of the License, or
//  (at your option) any later version.
// 
//  Foobar is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//  GNU General Public License for more details.
//  
//  You should have received a copy of the GNU General Public License
//  along with BattleGrowl.  If not, see <http://www.gnu.org/licenses/>.
// 

#import <Cocoa/Cocoa.h>
#import <FeedManager.h>
#import <BattleGrowl_AppDelegate.h>


@interface AppController : NSObject
{
	/* Our outlets which allow us to access  the interface */
	IBOutlet NSMenu *statusMenu;
	IBOutlet NSWindow *preferencesWindow;
	IBOutlet NSPanel *addCharacterPanel;
	
	IBOutlet NSPopUpButton *regionInput;
	IBOutlet NSComboBox *realmInput;
	IBOutlet NSTextField *nameInput;
	
	/* The other stuff :P */
	NSStatusItem *statusItem;
	NSImage *statusImage;
	NSImage *statusHighlightImage;
	
	FeedManager *feedManager;   	
	
	
	
}

@property (nonatomic, retain) IBOutlet NSWindow *preferencesWindow;

-(IBAction)launchPreferencesWindow:(id)sender;
-(IBAction)launchAddCharacterPanel:(id)sender;
-(IBAction)addCharacter:(id)sender;
-(IBAction)removeCharacter:(id)sender;
-(IBAction)cancelAddCharacter:(id)sender;
-(IBAction)openProductWebsite:(id)sender;

@end
